export default [
    {
      path: '/news',
      name: 'news',
      component: () => import('@/views/news'),
      children:[
        {
          path:'chat',
          name:'chat',
          component:()=>import('@/views/news/chat'),
          meta: {
            // 显示底部菜单
            setShowFooter: true,
            login: true
          }
        },
        {
          path:'like',
          name:'like',
          component:()=>import('@/views/news/like'),
          meta: {
            // 显示底部菜单
            setShowFooter: true
          }
        },
        {
          path:'answer',
          name:'answer',
          component:()=>import('@/views/news/answer'),
          meta: {
            // 显示底部菜单
            setShowFooter: true
          }
        },
        {
          path:'follow',
          name:'follow',
          component:()=>import('@/views/news/follow'),
          meta: {
            // 显示底部菜单
            setShowFooter: true
          }
        },
        {
          path:'message',
          name:'message',
          component:()=>import('@/views/news/message'),
          meta: {
            // 显示底部菜单
            setShowFooter: true
          }
        },
      ],
      meta: {
        // 显示底部菜单
        setShowFooter: true
      }
    },
    {
      path: '/chatWindow',
      name: 'chatWindow',
      component: () => import('@/views/news/chatWindow'),
      meta: {
        // 显示底部菜单
        setShowFooter: false
      },
    }

  
  
]